package Parser;

/**
 * Title: ANDExpression
 * Description: Object class for an AND expression in a rule
 * @version 1.0
 */

public class ANDExpression 
{

  private String ANDname = "", ANDvalue = "";

  public ANDExpression (String ANDname, String ANDvalue)
  {
    this.ANDname = ANDname;
    this.ANDvalue = ANDvalue;
  }

  public String GetANDname()
  {
    return this.ANDname;
  }

  public String GetANDvalue()
  {
    return this.ANDvalue;
  }

  public String toString()
  {
    return " AND " + this.ANDname + " IS " + this.ANDvalue;
  }
}
